home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-02-26 | 6.5 KB | 175 lines | [TEXT/MPS ] |
- ;
- ; File: E16.MediaControl
- ;
- ;
- ; Copyright Apple Computer, Inc. 1991
- ; All Rights Reserved
- ;
-
- ; Position unit types for MCGetPosition and other calls:
-
- mcInChapters GEQU 1 ; Position is measured in chapters.
- mcInFrames GEQU 2 ; Position is measured in frames.
- mcInTimes GEQU 3 ; Position is measured in hours,minutes,seconds,blocks.
-
-
-
- ; Control values for MCControl:
-
- mcCInit GEQU $0001 ; Initialize player.
- mcCEject GEQU $0002 ; Eject disc.
- mcCVideoOn GEQU $0003 ; Turn video on.
- mcCVideoOff GEQU $0004 ; Turn video off.
- mcCDisplayOn GEQU $0005 ; Turn video position display on.
- mcCDisplayOff GEQU $0006 ; Turn video position display off.
- mcCBlankVideo GEQU $0007 ; Blank video for next MCSearchTo.
- mcCDefaultCom GEQU $0008 ; Set default communications.
- mcCLockDev GEQU $0009 ; Set the device to locked.
- mcCUnLockDev GEQU $000A ; Unlock the device.
-
- mcC8Data1Stop GEQU $0028 ; Set 8 - data 1 - stop bit.
- mcC7Data1Stop GEQU $0029 ; Set 7 - data 1 - stop bit.
- mcC6Data1Stop GEQU $002A ; Set 6 - data 1 - stop bit.
- mcC5Data1Stop GEQU $002B ; Set 5 - data 1 - stop bit.
- mcC8Data2Stop GEQU $002C ; Set 8 - data 2 - stop bit.
- mcC7Data2Stop GEQU $002D ; Set 7 - data 2 - stop bit.
- mcC6Data2Stop GEQU $002E ; Set 6 - data 2 - stop bit.
- mcC5Data2Stop GEQU $002F ; Set 5 - data 2 - stop bit.
-
- mcCBaudDflt GEQU $0032 ; Set baud rate to control panel setting.
- mcCBaud50 GEQU $0033 ; Set 50 baud.
- mcCBaud75 GEQU $0034 ; Set 75 baud.
- mcCBaud110 GEQU $0035 ; Set 110 baud.
- mcCBaud134 GEQU $0036 ; Set 134 baud.
- mcCBaud150 GEQU $0037 ; Set 150 baud.
- mcCBaud300 GEQU $0038 ; Set 300 baud.
- mcCBaud600 GEQU $0039 ; Set 600 baud.
- mcCBaud1200 GEQU $003A ; Set 1200 baud.
- mcCBaud1800 GEQU $003B ; Set 1800 baud.
- mcCBaud2400 GEQU $003C ; Set 2400 baud.
- mcCBaud3600 GEQU $003D ; Set 3600 baud.
- mcCBaud4800 GEQU $003E ; Set 4800 baud.
- mcCBaud7200 GEQU $003F ; Set 7200 baud.
- mcCBaud9600 GEQU $0040 ; Set 9600 baud.
- mcCBaud19200 GEQU $0041 ; Set 19200 baud.
-
- mcCModem GEQU $0064 ; Set to modem port.
- mcCPrinter GEQU $0065 ; Set to printer port.
-
- mcCIgnoreDS GEQU $00C8 ; Ignore "disk switched" GSOS errors.
- mcCReportDS GEQU $00C9 ; Report "disk switched" GSOS errors.
-
-
-
- ; Values for MCGetFeatures:
-
- mcFTypes GEQU 0 ; How the disc is organized (frames, chapters, etc.).
- mcFStep GEQU 1 ; Maximum fps speed value (normal is 255).
- mcFRecord GEQU 2 ; Device supports MCRecord.
- mcFVideo GEQU 3 ; Device supports toggling video.
- mcFEject GEQU 4 ; Device supports ejecting medium.
- mcFLock GEQU 5 ; Device supports user lock (locking user from physically
- ; operating the device).
- mcFVDisplay GEQU 6 ; Device supports video display of location.
- mcFVOverlay GEQU 7 ; No. of lines of overlay characters device supports.
- mcFVOChars GEQU 8 ; No. of chars/line supported by overlay.
- mcFVolume GEQU 9 ; Does volume control?
-
-
- ; Status values for MCGetStatus:
-
- mcSUnknown GEQU $0000 ; Player unable to determine this status.
-
- mcSDeviceType GEQU $0000 ; "Device type" selector.
- mcSLaserDisc GEQU $0001 ; Video laser disc player.
- mcSCDAudio GEQU $0002 ; Audio CD player.
- mcSCDLaserCD GEQU $0003 ; Combination laser/CD player.
- mcSVCR GEQU $0004 ; VCR.
- mcSCamCorder GEQU $0005 ; Video camera.
-
- mcSPlayStatus GEQU $0001 ; "Play status" selector.
- mcSPlaying GEQU $0001 ; The device is playing.
- mcSStill GEQU $0002 ; The device is not playing (paused).
- mcSParked GEQU $0003 ; The device is shut down.
-
- mcSDoorStatus GEQU $0002 ; "Player door" status.
- mcSDoorOpen GEQU $0001
- mcSDoorClosed GEQU $0002
-
- mcSDiscType GEQU $0003 ; "Disc type" selector.
- mcS_CLV GEQU $0001
- mcS_CAV GEQU $0002
- mcS_CDV GEQU $0003
- mcS_CD GEQU $0004
-
- mcSDiscSize GEQU $0004 ; "Disc size" selector.
- mcSDisc3inch GEQU $0003
- mcSDisc5inch GEQU $0005
- mcSDisc8inch GEQU $0008
- mcSDisc12inch GEQU $000C
-
- mcSDiscSide GEQU $0005 ; "Disc side" selector.
- mcSSideOne GEQU $0001
- mcSSideTwo GEQU $0002
-
- mcSVolumeL GEQU $0006 ; Current left volume selector.
- mcSVolumeR GEQU $0007 ; Current right volume selector.
-
-
- ; Time parameter values for MCGetTimes:
-
- mcElapsedTrack GEQU $0000 ; Elapsed time on current track/chapter.
- mcRemainTrack GEQU $0001 ; Remaining time on current track/chapter.
- mcElapsedDisc GEQU $0002 ; Elapsed time on disc.
- mcRemainDisc GEQU $0003 ; Remaining time on disc.
- mcTotalDisc GEQU $0004 ; Total run time on disc.
- mcTotalFrames GEQU $0005 ; Total number of frames on disc.
- mcTracks GEQU $0006 ; Binary start and ending track numbers (bits 31-16 = ending,
- ; bits 15-0 = starting track number.)
- mcDiscID GEQU $0007 ; returns a disc identifier
-
-
- ; Audio values:
-
- mcAudioOff GEQU $0000 ; Audio off.
- mcAudioRight GEQU $0001 ; Audio thru right channel only.
- mcAudioLinR GEQU $0002 ; Audio left in right only.
- mcAudioMinR GEQU $0003 ; Audio mixed in right only.
- mcAudioRinL GEQU $0004 ; Audio right in left only.
- mcAudioRinLR GEQU $0005 ; Audio right in left and right.
- mcAudioReverse GEQU $0006 ; Audio right in left, left in right.
- mcAudioRinLMR GEQU $0007 ; Audio right in left, mixed in right.
- mcAudioLeft GEQU $0008 ; Audio left channel only.
- mcAudioStereo GEQU $0009 ; Audio both channels (in stereo).
- mcAudioLinLR GEQU $000A ; Audio left in left and right.
- mcAudioLinLMR GEQU $000B ; Audio left in left, mixed in right.
- mcAudioMinL GEQU $000C ; Audio mixed in left only.
- mcAudioMinLRinR GEQU $000D ; Audio mixed in left, right in right.
- mcAudioMinLLinR GEQU $000E ; Audio mixed in left, left in right.
- mcAudioMonaural GEQU $000F ; Audio mixed in left and right (monaural).
-
-
-
- ; Error codes:
-
- mcUnImp GEQU $2601 ; Unimplemented for this device.
- mcNotApplic GEQU $2601 ; <see UnImp>
- mcBadSpeed GEQU $2602 ; Invalid speed specified.
- mcBadUnitType GEQU $2603 ; Invalid unit type specified.
- mcTimeOutErr GEQU $2604 ; Timed out during device read.
- mcNotLoaded GEQU $2605 ; No driver is currently loaded.
- mcBadAudio GEQU $2606 ; Invalid audio value.
- mcDevRtnError GEQU $2607 ; Device returned error (unable to perform).
- mcUnRecStatus GEQU $2608 ; Unrecognizable status from device.
- mcBadSelector GEQU $2609 ; Invalid selector value specified.
- mcFunnyData GEQU $260A ; Funny data received (try again).
- mcInvalidPort GEQU $260B ; Invalid port specified.
- mcOnlyOnce GEQU $260C ; Scans only once.
- mcNoResMgr GEQU $260D ; Resource manager not active.
- mcItemNotThere GEQU $260E ; Item not found in database.
- mcWasShutDown GEQU $260F ; Media Control Toolset was already shut down.
- mcWasStarted GEQU $2610 ; Media Control Toolset was already started.
- mcBadChannel GEQU $2611 ; Invalid channel number.
- mcInvalidParam GEQU $2612 ; Invalid parameter.
- mcCallNotSupported GEQU $2613 ; Call is not supported.
-